package com.neu.fenli2023623.mapper;

import com.neu.fenli2023623.dto.RoleDto;
import com.neu.fenli2023623.dto.UserDto;
import com.neu.fenli2023623.entity.Role;
import com.neu.fenli2023623.vo.UserVo;

import java.util.List;

/**
* @author 1
* @description 针对表【role(角色管理)】的数据库操作Mapper
* @createDate 2023-07-04 14:56:15
* @Entity com.neu.fenli2023623.entity.RoleService
*/
public interface RoleMapper {

    List<Role> selectAll(RoleDto role);

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> selectExportData(Role role);
}
